POV-Ray : Newsgroups : povray.general : Interlocking Heightfields. : Re: Interlocking Heightfields. Server Time
31 Jul 2024 04:18:48 EDT (-0400)
  Re: Interlocking Heightfields.  
From: Kenneth
Date: 12 May 2008 17:20:00
Message: <web.4828b3b78c5c8be878dcad930@news.povray.org>
Stephen <mcavoysAT@aolDOTcom> wrote:
>
> My first thought was to use a function
> like:
>    height_field {
>       function 100, 100 {pattern {spotted scale 0.3 rotate -90*x}}
> smooth
>       scale <30,5,30>
>    }
>
> Which should define a height field in 3D space but I cannot find
> enough information in the documentation to enable me to do it
> properly...

That looks right to me--you've already figured it out! Though the rotation may
not be necessary, as the spotted pattern is a 3-D pattern, and will produce
results at *any* angle.

HFs made from functions have some odd built-in problems, though, as I've
discovered to my chagrin.  Take a look at something I posted recently...

http://news.povray.org/povray.advanced-users/thread/%3Cweb.47f304325a8bc21378dcad930%40news.povray.org%3E/

Ken W.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.